﻿using LJLib.Net.SPI.Com;

namespace PhoneUI.Com
{
    public sealed class UpdateOADocAnnexRequest : ILJTokenRequest<UpdateOADocAnnexResponse>
    {
        /// <summary>
        /// 身份标识
        /// </summary>
        public string token { get; set; }
        /// <summary>
        /// 附件ID
        /// </summary>
        public int AnnexNO { get; set; }
        /// <summary>
        /// 原文件名，用于检验
        /// </summary>
        public string Filename { get; set; }
        /// <summary>
        /// 新文件内容
        /// </summary>
        public byte[] Fileblob { get; set; }
        /// <summary>
        /// 是否另存保存
        /// </summary>
        public bool ifSaveAs { get; set; }

        public string GetApiName()
        {
            return "UpdateOADocAnnex";
        }
    }

    public sealed class UpdateOADocAnnexResponse : LJResponse
    {
        
    }
}